package navigation;

/**
 * Thrown to indicate that a tried move is illegal
 *
 * @author hyurah
 */

public class IllegalMoveException extends Exception{

	/**
	 * Constructs an IllegalMoveException with specified x and y position
	 *
	 * @param x illegal attempted x position
	 * @param y illegal attempted y position
	 */

	IllegalMoveException(int x, int y) {
		super("x:" + x + " y:" + y);
	}

}
